package com.wfk.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 用户账户表
 * </p>
 *
 * @since 2019-01-07
 */
@TableName("t_account")
public class Account implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 会员id
	 */
	private Integer cid;

	/**
	 * 金额
	 */
	private BigDecimal money;

	/**
	 * 可用积分（可用于提现和购物）
	 */
	private BigDecimal point;

	private Date updatetime;

	/**
	 * 版本号
	 */
	@Version
	private Integer version;

	private BigDecimal searchMoney;

	private BigDecimal maxMoney;
	
	private BigDecimal dayMoney;
	
	private BigDecimal allMoney;
	
	
	public BigDecimal getDayMoney() {
		return dayMoney;
	}
	public void setDayMoney(BigDecimal dayMoney) {
		this.dayMoney = dayMoney;
	}
	public BigDecimal getAllMoney() {
		return allMoney;
	}
	public void setAllMoney(BigDecimal allMoney) {
		this.allMoney = allMoney;
	}
	public void setMaxMoney(BigDecimal maxMoney) {
		this.maxMoney = maxMoney;
	}
	public BigDecimal getMaxMoney() {
		return maxMoney;
	}
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public BigDecimal getPoint() {
		return point;
	}

	public void setPoint(BigDecimal point) {
		this.point = point;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}
	public void setSearchMoney(BigDecimal searchMoney) {
		this.searchMoney = searchMoney;
	}
	public BigDecimal getSearchMoney() {
		return searchMoney;
	}
}
